﻿using System.Web.Mvc;

namespace GSLMS.WebAPP.Areas.HighAudit
{
    public class HighAuditAreaRegistration : AreaRegistration
    {
        public override string AreaName
        {
            get
            {
                return "HighAudit";
            }
        }

        public override void RegisterArea(AreaRegistrationContext context)
        {
            context.MapRoute(
              "HighAudit_DirectorAdu",
              "HighAudit/{controller}/{action}/{id}",
              new { action = "Index", id = UrlParameter.Optional }
          );
            context.MapRoute(
             "HighAudit_BossWin",
             "HighAudit/{controller}/{action}/{id}",
             new { action = "Index", id = UrlParameter.Optional }
         );
            context.MapRoute(
            "HighAudit_HighReport",
            "HighAudit/{controller}/{action}/{id}",
            new { action = "Index", id = UrlParameter.Optional }
        );
        //    context.MapRoute(
        //       "RiskAudit_Apply",
        //       "RiskAudit/Apply/{controller}/{action}/{id}",
        //       new { action = "Index", id = UrlParameter.Optional }
        //   );

            //context.MapRoute(
            //    "RiskAudit_default",
            //    "RiskAudit/{controller}/{action}/{id}",
            //    new { action = "Index", id = UrlParameter.Optional }
            //);
        }
    }
}
